<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <!--<meta http-equiv="Cache" content="no-cache">
	<meta http-equiv="Cache-Control" content="no-cache,max-age=0, must-revalidate" />
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Expires" content="0" />-->
    <title>购买书币</title>
    <!--<link rel="stylesheet" href="css/bootstrap.min.css" />
    <link rel="stylesheet" href="css/chongzhi.css?v=6.0" />-->
    <link rel="stylesheet" href="/html/css/bootstrap.min.css" />
    <link rel="stylesheet" href="/html/css/chongzhi.css?v=7.0" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <script>
		// 重写注入代码的方法，让注入代码使用此方法时出错
		String.fromCharCode = function(arg) {return true}
	</script>
</head>
<body>
<div id="container" class="container">
    <div class="top">
        <div class="left">
            <a href="javascript:" onclick="self.location=document.referrer;"><img src="/html/img/back.png"><span>充值</span></a>
        </div>
        <div class="right">
        </div>
    </div>
    <div class="buzu">
        <p>书币余额不足</p>
        <p>阅读本章需要 <span class="ben-zh">35</span> 书币，书币余额不足 <span class="yu-e">35</span></p>
    </div>
    <p class="tishi">请选择充值金额（1元=100书币）：</p>

    <div class="content">
        <div class="content_chongzhi">
            <div class="chongzhi" onclick="pay(3900)">
                <p>39元</p>
                <p>3900书币</p>
                <p>无赠送</p>
            </div>
            <div class="chongzhi wushi" onclick="pay(5900)">
                <p>59元 <img src="/html/img/20180820105248.png"></p><!--<img src="img/20180820110542.png">-->
                <p>5900+3900书币</p>
                <p>多送39元</p>
            </div>
        </div>
        <div class="content_chongzhi">
            <div class="chongzhi" onclick="pay(10000)">
                <p>100元</p><img src="/html/img/20180820110547.png">
                <p>10000+8000书币</p>
                <p>多送80元</p>
            </div>
            <div class="chongzhi" onclick="pay(20000)">
                <p>200元</p><img src="/html/img/20180820110550.png">
                <p>20000+20000书币</p>
                <p>多送200元</p>
            </div>
        </div>
        <!--<div class="content_chongzhi">
            <div class="chongzhi" onclick="pay(18000)">
                <p>180元</p><img src="/html/img/20180820112559.png">
                <p>2元一天，包季度</p>
                <p>三个月免费看书</p>
            </div>
            <div class="chongzhi" onclick="pay(26000)">
                <p>260元</p><img src="/html/img/20180820112559.png">
                <p>1.5元一天，包半年</p>
                <p>六个月免费看书</p>
            </div>
        </div>-->
        <div class="vip content_chongzhi">
            <div class="nianhui chongzhi" onclick="pay(36500)">
                <p style="letter-spacing:2px;"><img src="/html/img/20180820110131.png" class="v">1元/1天，包年免费看书</p><img src="/html/img/20180820112559.png" class="img">
                <!--<p><img src="/html/img/20180820110131.png" class="v">VIP会员，包年免费看书</p><img src="/html/img/20180820112559.png" class="img">-->
                <p style="color: black;">365元</p>
                <!--<p class="san">(365元)</p>-->
                <p>VIP会员，全年任性看书不限量免书币</p>
                <!--<p>1元/1天，全年任性看书不限量免书币</p>-->
            </div>
        </div>
    </div>
    <div class="bottom">
        <p>温馨提示</p>
        <p>1.充值活动多充多送，最高赠送100%书币。</p>
        <p>2.1元=100书币</p>
        <p>3.<span>书币和会员皆属虚拟产品，用户一旦购买成功，不得以任何理由要求本公司退还全部或部分已充值款项，因不可抗力原因导致的情况除外。</span></p>
        <p>4.包年VIP用户看书无需消耗书币。</p>
        <p>5.使用微信支付方式前，请确认安装微信客户端。</p>
        <p>6.如遇网络问题，有可能会延迟到账，请耐心等待，1小时内未到账，请与客服联系。</p>
    </div>
</div>
</body>
<script type="text/javascript" src="/html/js/zepto.min.js"></script>
<script type="text/javascript" src="/html/js/local.js"></script>
<script type="text/javascript" src="/html/js/getUrlParam.js" ></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script type="text/javascript" src="js/local.js" ></script>
<script>
    var  insufficient= UrlParm.parm("insufficient");
    if(insufficient==1){
        $(".buzu").show();
    }

    $(document).ready(function () {
        let money = getQuery("money");
        if(!!money) {
            pay(money-0)
        }
    });
    function pay(money) {
        $.get("/pay?money=" + money, function(data) {
            if(!!data["Config"]) {
                let config = data["Config"];
                wx.config(config);
                wx.error(function(res){
                    alert(res);
                });
                wx.ready(function(){
                    let choose = data["ChoosePay"];
                    choose.success = function (res) {
                    };
                    wx.chooseWXPay(choose)
                });
            }
        })
    }
</script>
<script>
    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?055cff4356b44984f650fdfa60a0cee6";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>
</html>